local thbattle__shikieiki_weiyan = fk.CreateSkill {

  name = "thbattle__shikieiki_weiyan",

  tags = {  },

}



thbattle__shikieiki_weiyan:addEffect(fk.Damaged, {
  anim_type = "masochism",
  can_trigger = function(self, event, target, player, data)
    if target == player and player:hasSkill(thbattle__shikieiki_weiyan.name) and data.from and not data.from.dead and data.from ~= player then
      return not data.from:isNude()
    end
  end,
  on_use = function(self, event, target, player, data)
    local room = player.room
    local from = data.from
    local card = room:askForCardChosen(player, from, "he", thbattle__shikieiki_weiyan.name)
    room:obtainCard(player, card, false, fk.ReasonPrey, player, thbattle__shikieiki_weiyan.name)
  end
})

return thbattle__shikieiki_weiyan